package com.restaurant.application.exchangegoods.support;

import com.nebutown.base.data.View;
import com.nebutown.supporthome.AbstractImpl;
import com.nebutown.supporthome.CmdCapsule;
import com.restaurant.application.exchangegoods.ExchangeGoods;
import java.lang.String;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractExchangeGoods extends AbstractImpl implements ExchangeGoods {
    
    private static final Logger logger = LoggerFactory.getLogger(ExchangeGoods.class);
    
    public final Class<?> getEffectiveInterface() {
        return ExchangeGoods.class;
    }
    
    public Logger getLogger() {
        return logger;
        
    }
    
    private static final String privateDataType = "ExchangeGoodsData";
    
    public ExchangeGoodsData getData() {
        return escort.getData(ExchangeGoodsData.class);
    }
    
    public void setData(ExchangeGoodsData data) {
        escort.setData(data);
    }
    
    public View newExchangeGoods(String id, ExchangeDetailData data) {
        return buildView(id, com.restaurant.application.exchangegoods.ExchangeGoods.class, "exchangeGoods", data, null, null);
    }
}
